//
//  DoctorDetailMemoCell.swift
//  EyeVisionForPatients
//
//  Created by Mr.Lin. on 2020/3/17.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class DoctorDetailMemoCell: UITableViewCell {
    
    @IBOutlet weak var titleLabel: UILabel! {
        didSet {
           // titleLabel.textColor = .mainColor
         //   titleLabel.font = .medium_14
        }
    }
    @IBOutlet weak var memoLabelOne: UILabel!
    @IBOutlet weak var memoLabelTwo: UILabel!
    
    func updateData(type: DoctorSelectType) {
        if type == .registration {
            titleLabel.text = "预约挂号"
            memoLabelOne.text = "线上预约、院内取号就诊"
            memoLabelTwo.text = "预约前请仔细阅读挂号须知"
        } else if type == .advisory {
            titleLabel.text = "使用图片、文字与医生线上沟通"
            memoLabelOne.text = "医生24小时内未接诊自动全额退款"
            memoLabelTwo.text = "问诊服务需双方确认后结束"
        } else {
            titleLabel.text = "预约线上门诊号源与医生视频沟通就诊"
            memoLabelOne.text = "到达预约时间在APP上报道后，等待医生开启视频"
            memoLabelTwo.text = "视频未接通可申请退款"
        }
    }
    
}
